package com.example.chenjun.myapplication.mvp;

/**
 * @author chenj
 * @date 2018/1/25 0025
 */

public class BasePresenter<M extends BaseModel, V extends IView> {
    private V mView;
    private M mModel;

    public V getView() {
        return mView;
    }

    public void setViewModel(V view, M model){
        mModel = model;
        mView = view;
    }

    public M getModel(){
        return mModel;
    }
}
